﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DemoScriptWebForm._Default" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <h3>Web Form</h3>
    <asp:Button ID="Button1" runat="server" 
        Text="Button" 
        Enabled="False" 
        OnClick="Button1_Click" />

    <script>
        $(function () {
            $("#<%= Button1.ClientID %>").removeAttr("disabled");
        });
    </script>
</asp:Content>

